package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 单元
 * </p>
 *
 * @author 
 * @since 2022-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Unit implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 单元
     */
    private String unit;

    /**
     * 单元编号
     */
    private String unitNumber;

    /**
     * 楼栋id
     */
    private Integer bid;

    /**
     * 楼层数量
     */
    private Integer numberOfUnitFloors;

    /**
     * 删除状态 0-未删除 1-已删除
     */
    private Integer delFlag;


}
